package com.htl.service;

import java.util.List;

import com.htl.entity.MsBorrow;

public interface MsBorrowService {
	int insertBorrowDetail(MsBorrow msBorrow, String borrowOrBook);
	
	int deleteBorrowDetail(MsBorrow msBorrow);
	
	List<MsBorrow> selectBorrowDetail(Integer adminId);
	
	MsBorrow selectByRIdAndBId(int adminId, int borrowId);
	
	int updateBorrowReturnTime(int adminId, int borrowId);

	int countBorrowBook(int adminId);
	
}
